package com.example.s09thymeleaf.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IfAndSwitchConyroller {
    @GetMapping("/if")
    public  String ifSwitch(Model model){
        model.addAttribute("rank",0);
        return "if";
    }
}
